<?php 
class searchDao extends Dao {
	
	public $table_name = 'lists';
	private $fields = "test,xxx";
	
	/**
	 * 新增用户
	 * @param $user
	 */

	public function search($param='')
	{
		$filed = 'tags';
		$value='%'.$param.'%';
		return $this->dao->db->get_all_like($this->table_name,10,0,$filed,$value,'id','asc');
		//return "xasda";
	}
}